<% unless @archives.blank? %>
<h3>Archives</h3>
<ul id="archives">
  <% @archives.each do |month| %>
    <li>
      <%= link_to month[:name], :controller => "articles", :action => "find_by_date", :year => month[:year], :month => month[:month] %>
      <%= "<em>(#{month[:count]})</em>" if @sb_config['show_count'] %>
    </li>
  <% end %>
</ul>
<% end %>
